package com.dao;

import com.model.pojo.Listing;
import com.sun.xml.internal.bind.v2.model.core.ID;
import jdk.nashorn.internal.ir.annotations.Reference;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ListingMapper {
    public List<Listing> search();
    public List<Listing> listMessage();

    public boolean listOf(@Param("id") int id,@Param("serialNumber") String serialNumber,@Param("medicalCardNumber") String medicalCardNumberString,@Param("listingProject")String listingProject,@Param("listingPrice")String listingPrice,@Param("listingPayCost")String listingPayCost );
}

